body{

font-family: Arial;
margin:0;
background:#faf6fb;

}

/* HEADER */

header{

background:linear-gradient(45deg,#6a1b9a,#d81b60,#2c2c2c);
color:white;
text-align:center;
padding:40px;

}

.volver{

color:white;
text-decoration:none;
display:inline-block;
margin-top:10px;
font-weight:bold;

}

/* TITULO */

.titulo{

text-align:center;
color:#6a1b9a;
margin-top:40px;

}

/* CONTENEDOR */

.contenedor{

display:grid;
grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
gap:25px;
padding:40px;

}

/* TARJETAS */

.card{

background:white;
border-radius:12px;
box-shadow:0 10px 20px rgba(0,0,0,0.1);
overflow:hidden;
transition:0.3s;
text-align:center;

}

.card:hover{

transform:translateY(-5px);

}

.card img{

width:100%;
height:200px;
object-fit:cover;

}

.card h3{

padding:10px;
color:#6a1b9a;

}

.card p{

padding:0 10px;
color:#555;

}

/* BOTONES */

.contacto{

display:flex;
flex-direction:column;
gap:10px;
padding:15px;

}

.contacto a{

display:block;
background:#d81b60;
color:white;
padding:12px;
border-radius:8px;
text-decoration:none;
font-weight:bold;
text-align:center;
transition:0.2s;

}

.contacto a:hover{

background:#6a1b9a;

}

/* RESPONSIVE TABLET */

@media (max-width:900px){

.contenedor{

padding:25px;

}

}

/* RESPONSIVE CELULAR */

@media (max-width:600px){

header{

padding:25px;

}

header h1{

font-size:24px;

}

.titulo{

font-size:22px;

}

.contenedor{

padding:20px;
gap:20px;

}

.card img{

height:220px;

}

.contacto a{

padding:14px;
font-size:16px;

}

}